define({ "api": [
  {
    "type": "post",
    "url": "/Autocomplete",
    "title": "",
    "version": "0.1.0",
    "group": "Autocomplete",
    "description": "<p>Bootstrap自动补全</p>",
    "examples": [
      {
        "title": "描述",
        "content": "在输入框输入的时候自动补全输入内容",
        "type": "json"
      },
      {
        "title": "使用方法",
        "content": "// Autocomplete\n   var availableTags = [\"ActionScript\", \"AppleScript\", \"Asp\", \"BASIC\", \"C\", \"C++\",\n                       \"Clojure\", \"COBOL\", \"ColdFusion\", \"Erlang\", \"Fortran\", \"Groovy\",\n                       \"Haskell\", \"Java\", \"JavaScript\", \"Lisp\", \"Perl\", \"PHP\", \"Python\",\n                       \"Ruby\", \"Scala\", \"Scheme\"];\n\n   $(\"#tags\").autocomplete({\n       source: availableTags\n   });",
        "type": "json"
      },
      {
        "title": "更多",
        "content": "参见  http://www.bootcss.com/p/jquery-ui-bootstrap/index.html#autocomplete",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "Autocomplete",
    "name": "PostAutocomplete"
  },
  {
    "type": "post",
    "url": "/BootstrapButton",
    "title": "",
    "version": "0.1.0",
    "group": "Bootstrap_Button",
    "name": "Bootstrap____",
    "description": "<p>根据需求，生成不同样式的按钮</p>",
    "examples": [
      {
        "title": "基本按钮",
        "content": "<!-- 标准的按钮 -->\n<button type=\"button\" class=\"btn btn-default\">默认按钮<tton>\n<!-- 提供额外的视觉效果，标识一组按钮中的原始动作 -->\n<button type=\"button\" class=\"btn btn-primary\">原始按钮<tton>\n<!-- 表示一个成功的或积极的动作 -->\n<button type=\"button\" class=\"btn btn-success\">成功按钮<tton>\n<!-- 信息警告消息的上下文按钮 -->\n<button type=\"button\" class=\"btn btn-info\">信息按钮<tton>\n<!-- 表示应谨慎采取的动作 -->\n<button type=\"button\" class=\"btn btn-warning\">警告按钮<tton>\n<!-- 表示一个危险的或潜在的负面动作 -->\n<button type=\"button\" class=\"btn btn-danger\">危险按钮<tton>\n<!-- 并不强调是一个按钮，看起来像一个链接，但同时保持按钮的行为 -->\n<button type=\"button\" class=\"btn btn-link\">链接按钮<tton>",
        "type": "json"
      },
      {
        "title": "按钮大小",
        "content": "<button type=\"button\" class=\"btn btn-default btn-lg\">大的按钮<tton>\n<button type=\"button\" class=\"btn btn-default btn-sm\">小的按钮<tton>\n<button type=\"button\" class=\"btn btn-default btn-xs\">特别小的按钮<tton>",
        "type": "json"
      },
      {
        "title": "按钮状态",
        "content": "<button type=\"button\" class=\"btn btn-default btn-lg \">默认按钮<tton>\n<button type=\"button\" class=\"btn btn-default btn-lg active\">激活按钮<tton>",
        "type": "json"
      },
      {
        "title": "更多参数及配置",
        "content": "参见 http://www.runoob.com/bootstrap/bootstrap-buttons.html",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "Bootstrap_Button"
  },
  {
    "type": "post",
    "url": "/BootstrapForm",
    "title": "",
    "version": "0.1.0",
    "group": "Bootstrap_Form",
    "name": "Bootstrap____",
    "description": "<p>页面生成form表单，将数据传入后端</p>",
    "examples": [
      {
        "title": "生成表单",
        "content": "<form class=\"form-horizontal\" role=\"form\">\n    <div class=\"form-group\">\n        <label for=\"firstname\" class=\"col-sm-2 control-label\">名字</label>\n        <div class=\"col-sm-10\">\n            <input type=\"text\" class=\"form-control\" id=\"firstname\" placeholder=\"请输入名字\">\n        </div>\n    </div>\n    <div class=\"form-group\">\n        <label for=\"lastname\" class=\"col-sm-2 control-label\">姓</label>\n        <div class=\"col-sm-10\">\n            <input type=\"text\" class=\"form-control\" id=\"lastname\" placeholder=\"请输入姓\">\n        </div>\n    </div>\n    <div class=\"form-group\">\n        <div class=\"col-sm-offset-2 col-sm-10\">\n            <div class=\"checkbox\">\n            <label>\n                <input type=\"checkbox\">请记住我\n            </label>\n            </div>\n        </div>\n    </div>\n    <div class=\"form-group\">\n        <div class=\"col-sm-offset-2 col-sm-10\">\n            <button type=\"submit\" class=\"btn btn-default\">登录<tton>\n        </div>\n    </div>\n</form>",
        "type": "json"
      },
      {
        "title": "更多参数及配置",
        "content": "参见 http://www.runoob.com/bootstrap/bootstrap-forms.html",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "Bootstrap_Form"
  },
  {
    "type": "post",
    "url": "/BootstrapStatus",
    "title": "",
    "version": "0.1.0",
    "group": "Bootstrap_Status",
    "name": "Bootstrap____",
    "description": "<p>根据表单的内容是否符合要求，显示表单的状态</p>",
    "examples": [
      {
        "title": "成功状态",
        "content": "<div class=\"form-group has-success\">\n   <label class=\"control-label\" for=\"inputSuccess1\">成功状态</label>\n   <input type=\"text\" class=\"form-control\" id=\"inputSuccess1\" placeholder=\"成功状态\" >\n</div>",
        "type": "json"
      },
      {
        "title": "警告状态",
        "content": "<div class=\"form-group has-warning\">\n   <label class=\"control-label\" for=\"inputWarning1\">警告状态</label>\n   <input type=\"text\" class=\"form-control\" id=\"inputWarning1\" placeholder=\"警告状态\">\n</div>",
        "type": "json"
      },
      {
        "title": "错误状态",
        "content": "<div class=\"form-group has-error\">\n   <label class=\"control-label\" for=\"inputError1\">错误状态</label>\n   <input type=\"text\" class=\"form-control\" id=\"inputError1\" placeholder=\"错误状态\">\n</div>",
        "type": "json"
      },
      {
        "title": "更多参数及配置",
        "content": "参见 http://v3.bootcss.com/css/#forms",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "Bootstrap_Status"
  },
  {
    "type": "post",
    "url": "/Datepicker",
    "title": "",
    "version": "0.1.0",
    "name": "Datepicker____",
    "group": "Datepicker",
    "description": "<p>日期控件</p>",
    "examples": [
      {
        "title": "描述",
        "content": "从弹出框或内联日历选择一个日期。",
        "type": "json"
      },
      {
        "title": "基本使用",
        "content": "$( function() {\n    $( \"#datepicker\" ).datepicker();\n});\n<input type=\"text\" id=\"datepicker\">",
        "type": "json"
      },
      {
        "title": "格式化日期",
        "content": " $(function() {\n    $( \"#datepicker\" ).datepicker();\n    $( \"#format\" ).change(function() {\n        $( \"#datepicker\" ).datepicker( \"option\", \"dateFormat\", $( this ).val() );\n    });\n});\n\n<input type=\"text\" id=\"datepicker\" size=\"30\">\n<p>格式选项：<br>\n<select id=\"format\">\n    <option value=\"mm/dd/yy\">Default - mm/dd/yy</option>\n    <option value=\"yy-mm-dd\">ISO 8601 - yy-mm-dd</option>\n    <option value=\"d M, y\">Short - d M, y</option>\n    <option value=\"d MM, y\">Medium - d MM, y</option>\n    <option value=\"DD, d MM, yy\">Full - DD, d MM, yy</option>\n    <option value=\"&apos;day&apos; d &apos;of&apos; MM &apos;in the year&apos; yy\">With text - 'day' d 'of' MM 'in the year' yy</option>\n</select>",
        "type": "json"
      },
      {
        "title": "实用功能",
        "content": "$.datepicker.setDefaults( settings )\n为所有的日期选择器改变默认设置。\n\n$.datepicker.formatDate( format, date, settings )\n格式化日期为一个带有指定格式的字符串值\n更多实用功能可在官网查阅",
        "type": "json"
      },
      {
        "title": "更多",
        "content": "参见  http://api.jqueryui.com/datepicker/",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "Datepicker"
  },
  {
    "type": "post",
    "url": "/ECharts",
    "title": "",
    "version": "0.1.0",
    "group": "ECharts",
    "description": "<p>图表组件</p>",
    "name": "ECharts____",
    "examples": [
      {
        "title": "绘制一个简单的图表",
        "content": "1.\n<body>\n     <!-- 为 ECharts 准备一个具备大小（宽高）的 DOM -->\n     <div id=\"main\" style=\"width: 600px;height:400px;\"></div>\n</body>\n2.\n// 基于准备好的dom，初始化echarts实例\n var myChart = echarts.init(document.getElementById('main'));\n\n// 指定图表的配置项和数据\nvar option = {\n     title: {\n         text: 'ECharts 入门示例'\n     },\n     tooltip: {},\n     legend: {\n         data:['销量']\n     },\n     xAxis: {\n         data: [\"衬衫\",\"羊毛衫\",\"雪纺衫\",\"裤子\",\"高跟鞋\",\"袜子\"]\n     },\n     yAxis: {},\n     series: [{\n         name: '销量',\n         type: 'bar',\n         data: [5, 20, 36, 10, 10, 20]\n     }]\n };\n// 使用刚指定的配置项和数据显示图表。\nmyChart.setOption(option);",
        "type": "json"
      },
      {
        "title": "个性化图标的样式",
        "content": "ECharts 提供了丰富的自定义配置选项，并且能够从全局、系列、数据三个层级去设置数据图形的样式。\n例如南丁格尔图：\nmyChart.setOption({\n    series : [\n     {\n     name: '访问来源',\n     type: 'pie',\n     radius: '55%',\n     data:[\n         {value:235, name:'视频广告'},\n         {value:274, name:'联盟广告'},\n         {value:310, name:'邮件营销'},\n         {value:335, name:'直接访问'},\n         {value:400, name:'搜索引擎'}\n        ]\n        }\n    ]\n})",
        "type": "json"
      },
      {
        "title": "异步加载",
        "content": "ECharts 中实现异步数据的更新非常简单，\n在图表初始化后不管任何时候只要通过 jQuery 等工具异步获取数据后通过 setOption 填入数据和配置项就行",
        "type": "json"
      },
      {
        "title": "更多",
        "content": "参见  http://echarts.baidu.com/index.html",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "ECharts"
  },
  {
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "varname1",
            "description": "<p>No type.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "varname2",
            "description": "<p>With type.</p>"
          }
        ]
      }
    },
    "type": "",
    "url": "",
    "version": "0.0.0",
    "filename": "apidoc/main.js",
    "group": "E__workspace_stream2_1_web_framework_docs_doc_apidoc_main_js",
    "groupTitle": "E__workspace_stream2_1_web_framework_docs_doc_apidoc_main_js",
    "name": ""
  },
  {
    "type": "post",
    "url": "/EasyUIDataGrid",
    "title": "",
    "version": "0.1.0",
    "name": "EasyUi_DataGrid__",
    "group": "EasyUiDataGrid",
    "description": "<p>接收后台数据，生成表格</p>",
    "examples": [
      {
        "title": "生成表格",
        "content": "<table id=\"dg\"></table>\n\n$('#dg').datagrid({\n   url:'datagrid_data.json',\n   columns:[[\n       {field:'code',title:'Code',width:100},\n       {field:'name',title:'Name',width:100},\n       {field:'price',title:'Price',width:100,align:'right'}\n   ]]\n });",
        "type": "json"
      },
      {
        "title": "根据参数加载表格",
        "content": "$('#dg').datagrid('load', {\n    name: 'easyui',\n    address: 'ho'\n});",
        "type": "json"
      },
      {
        "title": "刷新表格",
        "content": "$('#dg').datagrid('reload');",
        "type": "json"
      },
      {
        "title": "更多参数及配置",
        "content": "参见 http://www.jeasyui.com/documentation/index.php",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "EasyUiDataGrid"
  },
  {
    "type": "post",
    "url": "/JqueryAddClear",
    "title": "",
    "version": "0.1.0",
    "group": "Jquery_AddClear",
    "description": "<p>清空操作</p>",
    "examples": [
      {
        "title": "使用环境",
        "content": "1.引入jQuery到项目中\n2.添加 Add Clear 插件到项目中",
        "type": "json"
      },
      {
        "title": "使用方法",
        "content": "确定使用该插件的位置\n$(function(){\n   $(\"input\").addClear();\n});\n\n$(\"input\").addClear({\n   onClear: function(){\n       alert(\"call back!\");\n   }\n});",
        "type": "json"
      },
      {
        "title": "可选项",
        "content": "option:        type:       default\ncloseSymbol    string\nreturnFocus    boolean     true\nhideOnBlur     boolean     false\nonClear        function    null\ndisplay        string      block",
        "type": "json"
      },
      {
        "title": "更多参数及配置",
        "content": "参见 https://github.com/skorecky/Add-Clear",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "Jquery_AddClear",
    "name": "PostJqueryaddclear"
  },
  {
    "type": "post",
    "url": "/Layer",
    "title": "",
    "version": "0.1.0",
    "group": "Layer",
    "description": "<p>弹出层组件</p>",
    "name": "Layer_____",
    "examples": [
      {
        "title": "基本使用",
        "content": "layer.open({\n    title: '在线调试'\n    ,content: '可以填写任意的layer代码'\n});",
        "type": "json"
      },
      {
        "title": "常用弹框类型",
        "content": "layer提供了5种层类型。可传入的值有：0（信息框，默认）1（页面层）2（iframe层）3（加载层）4（tips层）。\n若你采用layer.open({type: 1})方式调用，则type为必填项（信息框除外）",
        "type": "json"
      },
      {
        "title": "content内容",
        "content": "content可传入的值是灵活多变的，不仅可以传入普通的html内容，还可以指定DOM，更可以随着type的不同而不同\n类型：String/DOM/Array，默认：''\n例如：\n   layer.open({\n       type: 1,\n       content: '传入任意的文本或html' //这里content是一个普通的String\n   });\n   layer.open({\n       type: 1,\n       content: $('#id') //这里content是一个DOM，注意：最好该元素要存放在body最外层，否则可能被其它的相对元素所影响\n   });\n   //Ajax获取\n   $.post('url', {}, function(str){\n       layer.open({\n           type: 1,\n           content: str //注意，如果str是object，那么需要字符拼接。\n       });\n   });",
        "type": "json"
      },
      {
        "title": "常用参数",
        "content": "type:基本层类型\ntitle:标题\ncontent:内容\narea:宽高\noffset:坐标\nyes:确定回调\ncancel:关闭回调",
        "type": "json"
      },
      {
        "title": "更多",
        "content": "参见  http://www.layui.com/doc/modules/layer.html",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "Layer"
  },
  {
    "type": "post",
    "url": "/JqueryValidate",
    "title": "",
    "version": "0.1.0",
    "name": "JqueryValidate__",
    "group": "Validate",
    "description": "<p>验证输入是否合法</p>",
    "examples": [
      {
        "title": "组件描述",
        "content": "jQuery Validate 插件为表单提供了强大的验证功能，让客户端表单验证变得更简单，\n同时提供了大量的定制选项，满足应用程序各种需求。该插件捆绑了一套有用的验证方法，\n包括 URL 和电子邮件验证，同时提供了一个用来编写用户自定义方法的 API。",
        "type": "json"
      },
      {
        "title": "组件常用校验规则",
        "content": "    \trequired:true\t必须输入的字段。\n\t    remote:\"check.php\"\t使用 ajax 方法调用 check.php 验证输入值。\n\t    email:true\t必须输入正确格式的电子邮件。\n\t    url:true\t必须输入正确格式的网址。\n\t    date:true\t必须输入正确格式的日期。日期校验 ie6 出错，慎用。\n\t    dateISO:true\t必须输入正确格式的日期（ISO），例如：2009-06-23，1998/01/22。只验证格式，不验证有效性。\n\t    number:true\t必须输入合法的数字（负数，小数）。\n\t    digits:true\t必须输入整数。\n\t    creditcard:\t必须输入合法的信用卡号。\n\t    equalTo:\"#field\"\t输入值必须和 #field 相同。\n\t    accept:\t输入拥有合法后缀名的字符串（上传文件的后缀）。\n\t    maxlength:5\t输入长度最多是 5 的字符串（汉字算一个字符）。\n\t    minlength:10\t输入长度最小是 10 的字符串（汉字算一个字符）。\n\t    rangelength:[5,10]\t输入长度必须介于 5 和 10 之间的字符串（汉字算一个字符）。\n\t    range:[5,10]\t输入值必须介于 5 和 10 之间。\n\t    max:5\t输入值不能大于 5。\n\t    min:10\t输入值不能小于 10。",
        "type": "json"
      },
      {
        "title": "组件使用",
        "content": "1.将校验规则写到控件中，例如\n    <input id=\"cname\" name=\"name\" minlength=\"2\" type=\"text\" required>\n2.将校验规则写到js中，例如\n    $('signupForm').validate({\n        rules: {\n            firstname: \"required\"\n        },\n        messages: {\n            firstname: \"请输入您的名字\"\n        }\n    })",
        "type": "json"
      },
      {
        "title": "更多",
        "content": "参见 http://www.runoob.com/jquery/jquery-plugin-validate.html",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "Validate"
  },
  {
    "type": "post",
    "url": "/Ztree",
    "title": "",
    "version": "0.1.0",
    "group": "Ztree",
    "name": "Ztree____",
    "description": "<p>树形控件</p>",
    "examples": [
      {
        "title": "构造基本的ztree",
        "content": "var zTreeObj;\n// zTree 的参数配置，深入使用请参考 API 文档（setting 配置详解）\nvar setting = {};\n// zTree 的数据属性，深入使用请参考 API 文档（zTreeNode 节点数据详解）\nvar zNodes = [\n    {name:\"test1\", open:true, children:[\n        {name:\"test1_1\"}, {name:\"test1_2\"}]},\n        {name:\"test2\", open:true, children:[\n        {name:\"test2_1\"}, {name:\"test2_2\"}]}\n    ];\n$(document).ready(function(){\n    zTreeObj = $.fn.zTree.init($(\"#treeDemo\"), setting, zNodes);\n});\n\n<ul id=\"treeDemo\" class=\"ztree\"></ul>",
        "type": "json"
      },
      {
        "title": "自定义图标",
        "content": "利用 节点数据的 icon / iconOpen / iconClose 属性实现自定义图标，例如\nvar nodes = [\n    //父节点展开 折叠时使用相同的图标\n    { name:\"父节点1\", icon:\"/img/parent.gif\"},\n\n    //父节点展开 折叠时分别使用不同的图标\n    { name:\"父节点2\", iconOpen:\"/img/open.gif\", iconClose:\"/img/close.gif\"},\n\n    //叶子节点个性化图标\n    { name:\"叶子节点\", icon:\"/img/leaf.gif\"}\n]",
        "type": "json"
      },
      {
        "title": "常用回调函数",
        "content": "设置在settings中的calllback之中,\n常用的有：\nbeforeClick: 用于捕获单击节点之前的事件回调函数，并且根据返回值确定是否允许单击操作\nbeforeDrag: 用于捕获节点被拖拽之前的事件回调函数，并且根据返回值确定是否允许开启拖拽操作\nbeforeEditName: 用于捕获节点编辑按钮的 click 事件，并且根据返回值确定是否允许进入名称编辑状态\nonRemove: 用于捕获删除节点之后的事件回调函数\nbeforeRemove: 用于捕获节点被删除之前的事件回调函数，并且根据返回值确定是否允许删除操作\nonRename: 用于捕获节点编辑名称结束之后的事件回调函数\n更多回调函数请参看官网",
        "type": "json"
      },
      {
        "title": "更多",
        "content": "参见  http://www.treejs.cn/v3/api.php",
        "type": "json"
      }
    ],
    "filename": "apidoc/apidoc.js",
    "groupTitle": "Ztree"
  }
] });
